package com.nycreativity.elecreativity.entity.po

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.nycreativity.elecreativity.entity.BaseEntity
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import lombok.Data
import lombok.EqualsAndHashCode

/**
 * <p>
 *  角色
 * </p>
 *
 * @author ttxxi
 * @since 2021-10-09
 */
class Role : BaseEntity(){

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    val id: Long? = null

    val roleName: String? = null

    val roleDescription: String? = null

    override fun toString(): String {
        return "Role{" +
                "id=" + id +
                ", roleName=" + roleName +
                ", roleDescription=" + roleDescription +
                ", ${super.toString()}}"
    }


}